import Vue from 'vue'
import VueRouter from 'vue-router'

import Page from '../views/page.vue'
import Vpage from '../views/vpage.vue'
import Huanpage from '../views/huanpage.vue'
import Mpage from '../views/mpage.vue'
import Brokenpage from '../views/brokenpage.vue'
import Mappage from '../views/mappage.vue'

import Indexpage from '../views/indexpage.vue'






Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: Indexpage
  },
  {
    path: '/home',
    component: Page
  },
  {
    path: '/vpage',
    component: Vpage
  },
  {
    path: '/huanpage',
    component: Huanpage
  },
  {
    path: '/mpage',
    component: Mpage
  },
  {
    path: '/brokenpage',
    component: Brokenpage
  },
  {
    path: '/mappage',
    component: Mappage
  },
 
]

const router = new VueRouter({
  routes
})

export default router
